<template>
  <div>
    物品详情页
  </div>
</template>

<script>
import {onMounted} from 'vue'
import {useRoute} from  'vue-router'
export default {
  name: "GoodsDetail",
  setup(){
    const route=useRoute()

    onMounted(()=>{
      console.log(route.params.iid)
    })
  }
}
</script>

<style scoped>

</style>